﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 鲭鱼圣者 : Minion
    {
        public 鲭鱼圣者() : base()
        {
            Star = 6;
            Attack = 8;
            Health = 4;
            Race = race.murloc;
        }
        public override void OnShieldlost(Minion m)
        {
            if(m!=this&&!Skills[3])
            {
                Skills[3] = true;
                if(pool.board.Debug)
                {
                    Console.WriteLine("第{0}位{1}获得了圣盾", Place, Name);
                }
            }
            base.OnShieldlost(m);    
        }

        public override Minion NewOne()
        {
            return new 鲭鱼圣者();
        }
    }


    class 鲭鱼圣者_金色 : 鲭鱼圣者
    {
        public 鲭鱼圣者_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 鲭鱼圣者_金色();
        }
    }
}
